<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/BlogAdmin/layui/css/layui.css" media="all">
    <script src="/BlogAdmin/layui/layui.js"></script>
</head>
<body>
<form class="layui-form">
    <br><br>
    <div class="layui-inline">
        <label class="layui-form-label">文章Id:</label>
        <div class="layui-input-inline">
            <input id="blogId" type="text" name="blogId" placeholder="请输入修改文章标题" lay-verify="required" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <br><br>
    <div class="layui-inline">
        <label class="layui-form-label">文章标题:</label>
        <div class="layui-input-inline">
            <input id="title" type="text" name="title" placeholder="请输入修改文章标题" lay-verify="required" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <br><br>
    <div class="layui-inline">
        <label class="layui-form-label">文章分类:</label>
        <div class="layui-input-inline">
            <input type="text" name="categoryname" placeholder="请输入修改的标签" lay-verify="required" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <br><br>
    <div class="layui-inline">
        <label class="layui-form-label">文章封面图:</label>
        <div class="layui-input-inline">
            <input id="username3" type="text" name="firstPicture" placeholder="请输入修改的封面图地址" lay-verify="required" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <br><br>
    <div class="layui-inline">
        <label class="layui-form-label">文章描述:</label>
        <div class="layui-input-inline">
            <input id="username" type="text" name="description" placeholder="请输入修改的文章描述" lay-verify="required" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <br><br>
    <div class="layui-inline">
        <label class="layui-form-label">文章作者:</label>
        <div class="layui-input-inline">
            <input type="text" name="username" placeholder="请输入修改的作者" lay-verify="required" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">文章标签(以空格区分):</label>
        <div class="layui-input-inline">
            <input type="text" name="tags" placeholder="请输入修改的标签" lay-verify="required" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        var form = layui.form; //只有执行了这一步，部分表单元素才会自动修饰成功
        //因此你需要在相应的地方，执行下述方法来手动渲染，跟这类似的还有 element.init();
        form.render('select', 'fenlei');

        // form.on('submit(formReply1)', function (data){
        //
        // });
    });

</script>

</body>
</html>